﻿<div class="menu-bd" id="leftmenu">
    @if (ViewData["pageType"].ToString() == "1")
    {
        <div class="menu-box">
            <h3>
                <i>-</i><span>账户管理</span>
            </h3>
            <ul>
                <li><span><a href="/Member/deliver_address">我的收货地址</a></span></li>
            </ul>
            <h3>
                <i>-</i><span>我的交易</span>
            </h3>
            <ul>
                <li><span><a href="/Order/myCart">我的购物车</a></span></li>
                <li><span><a href="/Trade/list_bought_items">订单管理</a></span></li>
                 <li><span><a href="#;">购买过的店铺</a></span></li>
                <li><span><a href="#;">我的收藏</a></span></li>
                <li><span><a href="#;">评价管理</a></span></li>
            </ul>
        </div>
    }
    else if (ViewData["pageType"].ToString() == "2")
    {
        if (ViewData["UserType"].ToString() == "0")
        {
        <div class="menu-box">
            <h3>
                <i>-</i><span>店铺管理</span>
            </h3>
            <ul>
                <li><span><a href="/Shop/openShopBasic">我要开店</a></span></li>
            </ul>
        </div>
        }
        else if (ViewData["UserType"].ToString() == "1")
        { 
        <div class="menu-box">
            <h3>
                <i>-</i><span>交易管理</span>
            </h3>
            <ul>
                <li><span><a href="#;">已卖出的宝贝</a></span></li>
                <li><span><a href="#;">发货</a></span></li>
                <li><span><a href="#;">评价管理</a></span></li>
            </ul>
        </div>
        <div class="menu-box">
            <h3>
                <i>-</i><span>宝贝管理</span>
            </h3>
            <ul>
                <li><span><a href="/Auction/sell">我要卖</a></span></li>
                <li><span><a href="/Auction/publish">出售中的宝贝</a></span></li>
                <li><span><a href="#;">仓库中的宝贝</a></span></li>
            </ul>
        </div>
        }
    }
</div>
